package 线程.Test01;

public class MyThread extends Thread {
    public void run(){
        for (int i = 0; i < 10; i++){
            System.out.println("分支线程---->" + i);
        }
        Thread currentThread = Thread.currentThread();
        System.out.println(currentThread.getName());
    }
}
